package com.learn.word.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Valley
 * Description
 * Created by Valley on 2023/6/19 20:44
 */
@TableName("learn_word_word")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Word {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("word")
    private String word;

    @TableField("word_CN")
    private String wordCN;

}